FROM openjdk:8u102
MAINTAINER lxc lxc@git.com.cn
LABEL name="lxc" auth="lxc" email="lxc@git.com.cn"
# 将本地的docker-hello包导入到容器的固定目录下
COPY docker-hello.jar /var/jenkins_home/docker/docker-hello.jar
# 变更工作目录
WORKDIR /var/jenkins_home/docker
# 启动服务
ENTRYPOINT ["java", "-jar", "docker-hello.jar"]